package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

    beego.GlobalControllerRouter["api01/controllers:GroupController"] = append(beego.GlobalControllerRouter["api01/controllers:GroupController"],
        beego.ControllerComments{
            Method: "Index",
            Router: "/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:GroupController"] = append(beego.GlobalControllerRouter["api01/controllers:GroupController"],
        beego.ControllerComments{
            Method: "Store",
            Router: "/",
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:GroupController"] = append(beego.GlobalControllerRouter["api01/controllers:GroupController"],
        beego.ControllerComments{
            Method: "Show",
            Router: "/:id",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:GroupController"] = append(beego.GlobalControllerRouter["api01/controllers:GroupController"],
        beego.ControllerComments{
            Method: "Update",
            Router: "/:id",
            AllowHTTPMethods: []string{"put"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:GroupController"] = append(beego.GlobalControllerRouter["api01/controllers:GroupController"],
        beego.ControllerComments{
            Method: "Destroy",
            Router: "/:id",
            AllowHTTPMethods: []string{"delete"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:LoginController"] = append(beego.GlobalControllerRouter["api01/controllers:LoginController"],
        beego.ControllerComments{
            Method: "Login",
            Router: "/login",
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:LoginController"] = append(beego.GlobalControllerRouter["api01/controllers:LoginController"],
        beego.ControllerComments{
            Method: "ChangePassword",
            Router: "/password",
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:LoginController"] = append(beego.GlobalControllerRouter["api01/controllers:LoginController"],
        beego.ControllerComments{
            Method: "Register",
            Router: "/register",
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:RoleController"] = append(beego.GlobalControllerRouter["api01/controllers:RoleController"],
        beego.ControllerComments{
            Method: "Index",
            Router: "/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:RoleController"] = append(beego.GlobalControllerRouter["api01/controllers:RoleController"],
        beego.ControllerComments{
            Method: "Store",
            Router: "/",
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:RoleController"] = append(beego.GlobalControllerRouter["api01/controllers:RoleController"],
        beego.ControllerComments{
            Method: "Show",
            Router: "/:id",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:RoleController"] = append(beego.GlobalControllerRouter["api01/controllers:RoleController"],
        beego.ControllerComments{
            Method: "Update",
            Router: "/:id",
            AllowHTTPMethods: []string{"put"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["api01/controllers:RoleController"] = append(beego.GlobalControllerRouter["api01/controllers:RoleController"],
        beego.ControllerComments{
            Method: "Destroy",
            Router: "/:id",
            AllowHTTPMethods: []string{"delete"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

}
